package com.dgut.demo.mapper;

import com.dgut.demo.bean.EmployeesMessage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/2/4 23:32
 * @Version 1.0
 */
@Repository
public interface EmployeesMapper {
    List<EmployeesMessage> getAllEmployeesMessage();
    int addOneEmployeesMessage(EmployeesMessage employeesMessage);
    int deleteOneEmployeesMessage(String eid);
    int updateOneEmployeesMessage(EmployeesMessage employeesMessage);
    EmployeesMessage getOneEmployeesMessage(String eid);
    List<EmployeesMessage> getEmployeesMessageById(String eid);
    List<EmployeesMessage> getEmployeesMessageByName(String ename);
    List<EmployeesMessage> getEmployeesMessageByPhone(String ephone);
    List<EmployeesMessage> getEmployeesMessageByDepartment(String edepartment);
}
